package binarytree;

public class Test {
    public static void main(String[] args) {
        BinaryTree binaryTree = new BinaryTree();
        BinaryTree.TreeNode root = binaryTree.createTree();
        binaryTree.preOrder(root);
        int size = binaryTree.size(root);
        System.out.println(size);
        int size_c = binaryTree.size_c(root);
        System.out.println(size_c);
        System.out.println("height: "+binaryTree.getHeight(root));
        binaryTree.levelOrder(root);
        System.out.println();;
    }

}
